<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title>考试管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%@ include file="/WEB-INF/view/common.jsp"%>
<link href="${path }/resources/css/login.css" rel="stylesheet">
<script>
	if (window.top !== window.self) {
		window.top.location = window.location;
	}
</script>

</head>

<body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="logopanel m-b">
                        <h1>[ - 考试管理系统- ]</h1>
                    </div>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>考试管理系统</strong></h4>
                    <ul class="m-b">
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 认真审题</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 耐心答题</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 拒绝作弊</li>
                    </ul>
                    <strong>还没有账号？ <a href="/registerPage">立即注册&raquo;</a></strong>
                </div>
            </div>
            <div class="col-sm-5">
                <form id="form1" name="form1" action="${path}/login" method="post">
                    <h4 class="no-margins">欢迎登录考试管理系统：</h4>
                    <input type="text" class="form-control uname" placeholder="用户名" name="username" id="userName" required="required" value="admin"/>
                    <input type="password" class="form-control pword m-b" placeholder="密码" id="password" name="password" required="required" value="123456"
						onkeydown="if(event.keyCode==13)form1.submit()" />
                   <c:if test="${not empty error }">
                    	<font size="4" color="red"><i class="fa fa-times animated"></i> ${error }</font>
                    </c:if>
                    <button type="submit" class="btn btn-success btn-block">登录</button>
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                &copy; 2022 大数据专业
            </div>
        </div>
    </div>
</body>

</html>